function deleteObj ( obj ) {
		if ( confirm('delete object?') )
			obj.style.display = "none";
}

function newDel ( obj ) {
	var del = document.createElement('div');
	del.setAttribute('id', obj.id+'_delete');
	del.setAttribute('class', 'delete_div');
	del.onclick = function () {
		deleteObj(obj);
	}
	return del;
}

